<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>

<body>

  <div id="app">
    <cpn :c-info="info" :child-my-message="message"></cpn>
  </div>
  <template id="cpn">
    <div>
      <h2>{{cInfo}}</h2>
      <h2>{{childMyMessage}}</h2>
    </div>
  </template>

  <script src="../js/vue.js"></script>
  <script>
    const cpn = {
      template: '#cpn',
      props: {
        cInfo: {
          type: Object,
          default() {
            return {}
          },
        },
        childMyMessage: {
            type: String,
            default: ''
          }
      }

    }

    const app = new Vue({
      el: '#app',
      data: {
        info: {
          name: 'ccc',
          age: 22,
          height: 171
        },
        message: 'aaaaa'
      },
      components: {
        cpn
      }
    })
  </script>


</body>

</html>